package com.nt;

import javax.naming.Context;

public class Receive extends Thread{
	private Storage s;
	public Receive(Storage s){
		this.s=s;
	}
	public void run(){
		for(int i = 1;i<6;i++){
		System.out.println("Consume get:"+s.get());
		}
	}
}
